const fp = require('lodash/fp')
const { Maybe, Container } = require('./support')
let maybe = Maybe.of([5, 6, 1])

let ex1 = n => maybe.map(arr => fp.map(v => fp.add(v, n), arr))

// 数组每一项加1
console.log(ex1(1))   
// Maybe { _value: [ 6, 7, 2 ] }